package rsj.sql.org;

import com.rlyy.aibase.utils.base.Node;
import com.rlyy.aibase.utils.base.TableNode;
import rsj.api.org.entity.UsageReportParam;
import rsj.annotation.DynamicSelect;
import rsj.service.usage.org.UsageProduceReportForOrg;

/**
 * 机构管理-生产环境客户使用情况-dao
 *
 * @author yuanqinglong
 * @since 2021/5/25 16:16
 */
public interface UsageProduceReportForOrgDao {


    /**
     * 查询表的页面
     *
     * @param usageReportParam 参数
     * @return {@link TableNode}
     */
    @DynamicSelect(type = UsageProduceReportForOrg.class, method = "generateQueryStatement")
    TableNode queryTableByPage(UsageReportParam usageReportParam);


    /**
     * 数统计
     *
     * @param usageReportParam 参数
     * @return {@link Node}
     */
    @DynamicSelect(type = UsageProduceReportForOrg.class, method = "generateCountStatement")
    Node countStatistic(UsageReportParam usageReportParam);
}
